import axios from "../../utils/axios";
/**
 *  2.0版本
 */

// /dailyBus/deleteDailyNew 删除每日新品
export function deleteDailyNew(query) {
    return axios({
        url: "/dailyBus/deleteDailyNew",
        method: "get",
        params: query
    });
}

// /dailyBus/batchAddDailyNew 批量添加每日新品
export function batchAddDailyNew(query) {
    return axios({
        url: "/dailyBus/batchAddDailyNew",
        method: "get",
        params: query
    });
}
// admin/getPickUpCommdityPage 获取进货商家列表接口2.0
export function getPickUpCommdityPage(query) {
    return axios({
        url: "/goldendays-user/admin/getPickUpCommdityPage",
        method: "get",
        params: query
    });
}

// admin/getAllPurchaseOrdersList 获取商户进货列表
export function getAllPurchaseOrdersList(query) {
    return axios({
        url: "/goldendays-user/admin/getAllPurchaseOrdersList",
        method: "get",
        params: query
    });
}
///manage/hatch/getHatchUser 分页查询孵化团队成员列表
export function getHatchUser(query) {
    return axios({
        url: "/goldendays-promote/manage/hatch/getHatchUser",
        method: "post",
        data: query
    });
}
export function getHatchUserB(query) {
    return axios({
        url: "/goldendays-promote/manage/hatch/getHatchUserB",
        method: "post",
        data: query
    });
}
///manage/hatch/exportdata 导出孵化团队成员列表
export function exportdata(query) {
    return axios({
        url: "/goldendays-promote/manage/hatch/exportdata",
        method: "post",
        data: query
    });
}

export function getCreateIncubationList(query) {//获取组建孵化公司申请列表
    return axios({
        url: "/goldendays-promote/incubationApply/getIncubateCompanyApplyList",
        method: "post",
        data: query
    });
}

export function incubationCheck(query) {
    return axios({
        url: "/goldendays-promote/incubationApply/auditIncubateCompanyApply",
        method: "post",
        data: query
    });
}


// 公司孵化记录列表
export function getBusBuildIncubationCompanyList(query) {
    return axios({
        url: "/goldendays-promote/busBuildIncubationCompany/getBusBuildIncubationCompanyList",
        method: "post",
        data: query
    });
}